package com.frxuexi.shop.intent

import com.frxuexi.lib_base.entity.CreateOrderReqBean
import com.frxuexi.lib_base.entity.PreOrderBean
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class CartIntent:IUiIntent {
    data class getCarts(val page:String):CartIntent()

    data class updateCart(val id:Int,val number:Int):CartIntent()


    data class preOrder(val item:PreOrderBean):CartIntent()

    data class loadPreOrder(val orderNo:String):CartIntent()
    data class createOrder(val item:CreateOrderReqBean):CartIntent()

    data class payOrder(val map: Map<String,Any>):CartIntent()
}